package com.example.osixaffairssystem.service;


import com.example.osixaffairssystem.domain.PageBean;
import com.example.osixaffairssystem.domain.model.Schedule;

import java.util.List;

public interface ScheduleService {

    List<Schedule> list();

    PageBean<Schedule> listToPage(Integer page, Integer pageSize);

    Integer insert(Schedule schedule);

    void update(Schedule schedule);

    void delete(List<Integer> ids);
}
